/*
 * Copyright (c) 2010 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * Warning! This file is generated. Modify at your own risk.
 */

package com.google.api.services.gan.model;

import com.google.api.client.http.HttpHeaders;
import com.google.api.client.json.GenericJson;
import com.google.api.client.util.Key;

/**
 * Model definition for Gan.CcOfferDefaultFees.
 *
 * This class models an object which will be transmitted to or from the Gan service. To reduce the
 * data transferred during service requests, you may remove members that contain data elements that
 * your application does not need.
 *
 * For a detailed explanation, see: <a href="http://code.google.com/p/google-api-java-
 * client/wiki/Json"> http://code.google.com/p/google-api-java-client/wiki/Json</a>
 *
 * @author Google, Inc.
 */
public final class CcOfferDefaultFees extends GenericJson {

  /**
   * The type of charge, for example Purchases.
   */
  @Key("category")
  private String category;

  /** The type of charge, for example Purchases. */
  public String getCategory() {
    return category;
  }

  /** The type of charge, for example Purchases. */
  public CcOfferDefaultFees setCategory(String category) {
    this.category = category;
    return this;
  }
  /**
   * The highest rate the issuer may charge for defaulting on debt in this category. Expressed as an
   * absolute number, not as a percentage.
   */
  @Key("maxRate")
  private Double maxRate;

  /**
 * The highest rate the issuer may charge for defaulting on debt in this category. Expressed as an
 * absolute number, not as a percentage.
 */
  public Double getMaxRate() {
    return maxRate;
  }

  /**
 * The highest rate the issuer may charge for defaulting on debt in this category. Expressed as an
 * absolute number, not as a percentage.
 */
  public CcOfferDefaultFees setMaxRate(Double maxRate) {
    this.maxRate = maxRate;
    return this;
  }
  /**
   * The lowest rate the issuer may charge for defaulting on debt in this category. Expressed as an
   * absolute number, not as a percentage.
   */
  @Key("minRate")
  private Double minRate;

  /**
 * The lowest rate the issuer may charge for defaulting on debt in this category. Expressed as an
 * absolute number, not as a percentage.
 */
  public Double getMinRate() {
    return minRate;
  }

  /**
 * The lowest rate the issuer may charge for defaulting on debt in this category. Expressed as an
 * absolute number, not as a percentage.
 */
  public CcOfferDefaultFees setMinRate(Double minRate) {
    this.minRate = minRate;
    return this;
  }
  /**
   * Fixed or variable.
   */
  @Key("rateType")
  private String rateType;

  /** Fixed or variable. */
  public String getRateType() {
    return rateType;
  }

  /** Fixed or variable. */
  public CcOfferDefaultFees setRateType(String rateType) {
    this.rateType = rateType;
    return this;
  }


}
